package com.jams.goodox.entity;

import com.jams.goodox.net.BaseEntity;

import java.util.List;

/**
 * Created by Jin on 2016/5/17.
 * Description
 */
public class PointProduct extends BaseEntity {
    /**
     * curPage : 1
     * hasMore : false
     * pageSize : 20
     * resultList : [{"availableFrom":1454273338,"availableTo":1456692551,"name":"精美笔记本","picUrl":"http://121.40.102.80:8080//img/zm/201602/order/order145449171124338.png","price":0,"productId":"5ed83dca-c8be-11e5-9677-00163e005381","remainingNumber":86,"requiredScore":10,"tips":"fsdfs","unit":"100"}]
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private String curPage;
        private boolean hasMore;
        private int pageSize;
        /**
         * availableFrom : 1454273338
         * availableTo : 1456692551
         * name : 精美笔记本
         * picUrl : http://121.40.102.80:8080//img/zm/201602/order/order145449171124338.png
         * price : 0
         * productId : 5ed83dca-c8be-11e5-9677-00163e005381
         * remainingNumber : 86
         * requiredScore : 10
         * tips : fsdfs
         * unit : 100
         */

        private List<ResultListBean> resultList;

        public String getCurPage() {
            return curPage;
        }

        public void setCurPage(String curPage) {
            this.curPage = curPage;
        }

        public boolean isHasMore() {
            return hasMore;
        }

        public void setHasMore(boolean hasMore) {
            this.hasMore = hasMore;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public List<ResultListBean> getResultList() {
            return resultList;
        }

        public void setResultList(List<ResultListBean> resultList) {
            this.resultList = resultList;
        }

        public static class ResultListBean {
            private long availableFrom;//兑换开始时间
            private long availableTo;//	兑换结束时间
            private String name;//名称
            private String picUrl;//	图片URL
            private int price;//价格
            private String productId;//	产品id
            private int remainingNumber;//	剩余数量
            private int requiredScore;//	所需积分
            private String tips;//描述
            private String unit;//	原价

            public long getAvailableFrom() {
                return availableFrom;
            }

            public void setAvailableFrom(long availableFrom) {
                this.availableFrom = availableFrom;
            }

            public long getAvailableTo() {
                return availableTo;
            }

            public void setAvailableTo(long availableTo) {
                this.availableTo = availableTo;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPicUrl() {
                return picUrl;
            }

            public void setPicUrl(String picUrl) {
                this.picUrl = picUrl;
            }

            public int getPrice() {
                return price;
            }

            public void setPrice(int price) {
                this.price = price;
            }

            public String getProductId() {
                return productId;
            }

            public void setProductId(String productId) {
                this.productId = productId;
            }

            public int getRemainingNumber() {
                return remainingNumber;
            }

            public void setRemainingNumber(int remainingNumber) {
                this.remainingNumber = remainingNumber;
            }

            public int getRequiredScore() {
                return requiredScore;
            }

            public void setRequiredScore(int requiredScore) {
                this.requiredScore = requiredScore;
            }

            public String getTips() {
                return tips;
            }

            public void setTips(String tips) {
                this.tips = tips;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }
        }
    }
}
